import axios from '../http';

// 删除牌组中牌型
export const delTheCards = (card_id: number, group_id: number) =>
	axios.delete(`mjconf/grouprelaction`, { params: { card_id, group_id } });

// 添加牌组中牌型
export const reloadTheCards = (data: { ids: Array<Number>; group_id: number }) =>
	axios.post('mjconf/grouprelaction', data);
